#ifndef _ULTRASONIC_H_
#define _ULTRASONIC_H_

#include "stm32f10x.h"
#include "delay.h"
#include "beep.h"
#include "HC_SR04.h"
#include "usart.h"

struct Ultrasonic_Information
{
    float S;               // 与障碍物的距离
    char VoiceMessage[64]; // 发送消息缓存区
};

void Ultrasonic_Mode(float distance); // 超声波测距模式

#endif
